package com.copm.ifm.common.process.util;

/**
 * 流程工具类
 *
 * @author zzf
 * @date 2021/3/30 19:23
 */
public class ProcessUtils {


    /**
     * 计算首节点时 runPoint的值
     *
     * @param pointNum 节点数量
     * @return 首节点时runPoint的值
     */
    public static String computeFirstRunPoint(int pointNum) {
        StringBuilder stringBuilder = new StringBuilder("1");
        for (int i = 0; i < pointNum; i++) {
            stringBuilder.append("0");
        }
        return stringBuilder.toString();
    }


}
